﻿using System;
using System.Collections.ObjectModel;
using System.Xml.Serialization;

namespace CHomeWeather
{
    /// <summary>
    /// Represents the update configurations.
    /// </summary>
    public class UpdateConfiguration
    {
        /// <summary>
        /// Gets or set the update targets.
        /// </summary>
        [XmlAttribute("Target")]
        public string Targets { get; set; }

        /// <summary>
        /// Gets or set the match configurations.
        /// </summary>
        [XmlElement("Match")]
        public Collection<MatchConfiguration> Matches { get; set; }
    }
}
